package com.one.service;

import com.one.annotation.RequestUser;
import com.one.bean.User;
import com.one.vo.UserVo;
import io.swagger.models.auth.In;

/**
 * @author: tzy
 * @create: 2022/1/18
 * @FileName: CommentService
 * @Description: 评论业务接口
 */
public interface CommentService {
    /**
     * @author: tzy
     * @date: 2022/1/18
     * @return:
     * @Description: 添加用户购买的商品的评论
     */
    int addComment(String commentImage,String content,Integer ordersId);
    /**
     * @author: tzy
     * @date: 2022/1/18
     * @return:
     * @Description: 删除用户评论
     */
    int removeComment(Integer commentId);

    /**
     * @author: tzy
     * @date: 2022/1/21
     * @return:
     * @Description: 查询用户积分
     */
    User findUser(Integer ordersId);
}

